﻿using System;
using Crawler.Properties;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Threading;
using System.Web.Services;
using System.Web.Services.Description;
using System.Web.Services.Protocols;

namespace Crawler.MapMatch
{
    [DebuggerStepThrough]
    [GeneratedCode("System.Web.Services", "4.0.30319.1")]
    [DesignerCategory("code")]
    [WebServiceBinding(Name = "ServiceSoap", Namespace = "http://tempuri.org/")]
    public class Service : SoapHttpClientProtocol
	{
        [DebuggerStepThroughAttribute()]
		public Service()
		{
		  this.Url = Settings.Default.Crawler_MapMatch_ClientInfo;		 
		}
        [DebuggerStepThroughAttribute()]
		public new void CancelAsync(object userState)
		{
		  base.CancelAsync(userState);
		}
        [DebuggerStepThroughAttribute()]
        [SoapDocumentMethodAttribute("http://tempuri.org/GetMmInfo", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
		//[SoapDocumentMethod("http://tempuri.org/GetMmInfo", ParameterStyle = SoapParameterStyle.Wrapped, RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = SoapBindingUse.Literal)]
		public MapMatchInfo GetMmInfo(string pDealer1, string pDealer2, string username, string key, string validation)
		{
		  return (MapMatchInfo) this.Invoke("GetMmInfo", new object[5]
		  {
			(object) pDealer1,
			(object) pDealer2,
			(object) username,
			(object) key,
			(object) validation
		  })[0];
		}
        [DebuggerStepThroughAttribute()]
        [SoapDocumentMethodAttribute("http://tempuri.org/Match_GetAll", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
       // [SoapDocumentMethod("http://tempuri.org/Match_GetAll", ParameterStyle = SoapParameterStyle.Wrapped, RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = SoapBindingUse.Literal)]
        public MapMatchInfo Match_GetAll(string username, string key, string validation)
        {
            return (MapMatchInfo)this.Invoke("Match_GetAll", new object[3]
              {
                (object) username,
                (object) key,
                (object) validation
              })[0];
        }
	}
}
